{% extends 'base.html' %}

{% block title %} Reset your password {% endblock %}
{% block content %}
    <h1>Reset your password</h1>
    {% if validlink %}
        <p>Please enter you new password twice:</p>
        <form action="." method="post" novalidate>
            {% csrf_token %}
            {{ form.as_p }}
            <p><input type="submit" value="Change my password"></p>
        </form>
    {% else %}
        <p>The password reset link was invalid,possibly because it has
        already been used.Please request a new password reset.</p>
    {% endif %}

{% endblock %}